Skip to content

Conversation

AlexWaygood
Copy link
Member

  • There was still one module that only existed in <=3.8 lying around
  • Remove a backport of functools.cache from the ts_utils package; we can use functools.cache directly now
  • Use .removesuffix instead of an awkward workaround
  • Remove some redundant assert sys.version_info >= (3, 9) assertions from scripts: they just add visual noise at this point
  • Update some comments in the allowlists
  • Modernise some imports (where mypy doesn't crash)
  • Set Ruff to assume py39+

@AlexWaygood AlexWaygood marked this pull request as draft April 3, 2025 10:45
@AlexWaygood AlexWaygood changed the title manual changes Remove more Python 3.8 cruft Apr 3, 2025
@AlexWaygood AlexWaygood marked this pull request as ready for review April 3, 2025 10:54
Copy link
Contributor

github-actions bot commented Apr 3, 2025

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood AlexWaygood merged commit d92a644 into python:main Apr 3, 2025
63 checks passed
@AlexWaygood AlexWaygood deleted the alex/38-remnants branch April 3, 2025 10:56
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants